package cn.wolfcode.trip.base.util;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class JSONResult {
    private boolean succeed = true;
    private String msg;
    private Object result;

    public JSONResult mark(String msg){
        succeed = false;
        this.msg = msg;
        return this;
    }

    public void setResult(Object result) {
        this.result = result;
    }
}
